#include <iostream>
#include <locale>
using namespace std;

void print_local_names()
{
    cout << "Global locale: " << locale().name() << endl;
    cout << "Classic C locale: " << locale::classic().name() << endl;
    cout << "Preferred locale: " << locale("").name() << endl;
}
int main()
{
    print_local_names();
    locale::classic().name() << endl;
}
